package com.example.administrator.xposedtest2;

import android.app.Activity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;


/**
 * Created by Administrator on 2018/2/9.
 */
public class TheActivity extends Activity{

    private String username;
    private String password;
    private Intent intent;
    private Bundle bundle;

    private TextView newtext;
    private TextView newtext2;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.second);

        newtext=(TextView)findViewById(R.id.newtext);
        newtext2=(TextView)findViewById(R.id.newtext2);

        intent=this.getIntent();
        bundle=intent.getExtras();
        username=bundle.getString("uname");
        password=bundle.getString("passwd");

        newtext.setText("uname="+username);
        newtext2.setText("passwd="+password);

    }
}
